﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaiser.Modules.Mis.Models;
using Kaiser.Models.JsonModels;
using Kaiser.Models;
 

namespace Kaiser.Modules.Mis.Services
{
    public interface IBookManageService
    {

        void InsertBook(BookInput model);

        DataGrid<BookInput> SearchBook(BookSearch criteria, PagingInfo pageingInfo);

        void InsertCategory(CategoryInput model);

        void InsertPublisher(PublisherInput model);

        int DeleteBookList(string ids);


        int DeletePublisherList(string ids);

        void UpdateBook(BookInput model);

        void UpdateCategory(CategoryInput model);

        void UpdatePublisher(PublisherInput model);

        DataGrid<CategoryInput> SearchCategroy(CategorySearch search, PagingInfo pageinfo);

        DataGrid<CategoryInput> GetCategoryTreeList(CategorySearch categorySearch, PagingInfo pageinfo);

        int DeleteCategoryList(string ids);

        DataGrid<PublisherInput> SearchPublisher(PublisherSearch categorySearch, PagingInfo pageinfo);
    }
}
